php forum
php mysql forum
php mysql smarty
 
Page 1 of 7 1 2 3 4 5 6 7 >
Topic Options
#232706 - 01/11/03 09:46 AM [6.2] Integrated Jpilot chat
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
What is it?: An add on to add Jpilot chat to your Threads install. <br /> <br />Why would I care?: This mod uses a template, and only allows registered users to chat. <br /> <br />Who gets the props?: Dave_L for the code to convert spaces to underscores. JoshPet for letting me use his popup script and omegatron for allowing me to see his chat script. <br /> <br />How do I install it?: <br /> <br />1) Copy jchat.php and chatpopup.php script to your ubbthreads directory. <br /> <br />2) Edit the jchat.tmpl file and change "dachat" to the name of the chat channel you want to use. <br /> <br /><param name="Channel1" value="dachat" /> <br /> <br />3) Copy the jchat.tmpl file to your ubbthreads/templates/default/ directory. <br /> <br />4) Add
Code:
 $ubbt_lang['jchat'] = 	"In the Chat Room"; 
to the online.php file in all of your language directories. <br /> <br />5) Download a copy of Jpilot and copy it to a directory named chat under your ubbthreads directory (mine is in ubbthreads/chat). <br /> <br />For more info on configuring Jpilot see their web site. <br /> <br /><Da_Soap_Box> <br /> <br />I could have easily named this add on "How to add something to Threads using a "Threads like" template file". My challenge to all future mods for Threads is that if you create a new php script that you also make that script use a template file. It's a lot easier for most people to edit a template than it is for them to edit a php script. Plus we might just start seeing some of these add ons in the addons folder of a future Threads release. <br /> <br /></Da_Soap_Box> <br /> <br />Enjoy <img src="/threads/php/images/graemlins/smile.gif" alt="" /> <br /> <br />Version 1.1 now includes a popup window to update the who's online display.


Attachments
64465-Jchat.zip (118 downloads)



Edited by Dalantech (05/25/03 02:26 AM)
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232707 - 01/11/03 09:56 AM Re: Integrated Jpilot chat [Re: jacksonm99]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I know there are a bunch of users that will get a lot of use out of this. Thanks! <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232708 - 01/11/03 09:59 AM Re: Integrated Jpilot chat [Re: sjsaunders]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
<img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />There are a couple variations of this one floating around, but I figured I'd write one that uses a template <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />It's all your fault JustDave... <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232709 - 01/11/03 10:45 AM Re: Integrated Jpilot chat [Re: jacksonm99]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Thanks Dalantech I was actuall thinking of this a few weeks ago. Your right there are quite a few chat mods around here. Good to be updated.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232710 - 01/11/03 10:57 AM Re: Integrated Jpilot chat [Re: sf49rminer]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Thank you for letting me see your chat script! <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232711 - 01/11/03 11:06 AM Re: Integrated Jpilot chat [Re: jacksonm99]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
<img src="/forum/images/graemlins/wink.gif" alt="" /> thats why its posted here so everyone can have a chat.<br /><br />Now if I can ever get instant messaging done again like I had in UBB I will be a happy camper. Shout box is close but not exactly what I want.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232712 - 01/11/03 11:07 AM Re: Integrated Jpilot chat [Re: jacksonm99]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Thanks Dlanatech - keep meaning to re-install the chatroom - maybe this will prompt me to do it LOL<br /><br />Ian
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#232713 - 01/11/03 01:38 PM Re: Integrated Jpilot chat [Re: Gorlum]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Great Job!
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232714 - 01/11/03 02:33 PM Re: Integrated Jpilot chat [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Thanks for your help on it <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232715 - 01/15/03 01:28 PM Re: Integrated Jpilot chat [Re: jacksonm99]
monkeyra Offline
Junior Member

Registered: 06/28/01
Posts: 363
Loc: uk
Just something i want to run by you guys before I install this.<br />My site uses Jpilot, and IIRC, it logs you onto irc.webchat.org? (correct me if i'm wrong).<br />The only problem I forsee myself having is with usernames. Because I have a channel registered on irc.webchat.org, if someone from my site comes into the room and someone else on the server is using that name, and has it protected (aggresively or not) they get renamed as guest in the chatroom. how would this affect threads?<br />I'm a bit confused as to how this works at the monent tbh!

Top
#232716 - 01/15/03 03:32 PM Re: Integrated Jpilot chat [Re: Luka_dup1]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
No effect at all on Threads. The user name is passed to Jpilot as the user's nickname for the chat session, but that's all. It just makes it easy for the IRC newbies on your site to log into the IRC server.<br /><br />Look at the comments in my script and you'll understand what it's doing a lot better.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232717 - 01/15/03 04:14 PM Re: Integrated Jpilot chat [Re: jacksonm99]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
nice job <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#232718 - 01/15/03 05:00 PM Re: Integrated Jpilot chat [Re: jacksonm99]
monkeyra Offline
Junior Member

Registered: 06/28/01
Posts: 363
Loc: uk
aha! Thanks, I understand now. <img src="/forum/images/graemlins/smile.gif" alt="" />

Top
#232719 - 01/15/03 07:37 PM Re: Integrated Jpilot chat [Re: Luka_dup1]
Allusivekudos Offline
Junior Member

Registered: 05/26/02
Posts: 378
Loc: Na
I'm trying to find info on admin commands for the chatroom stuff...I've never really gotten into it, but figured now would be a good time to start. I have it all set up on my board, and it works very well. However, before I let people know about it, I figured I should make the other admins admins of the chat too (is it possible?) I'm looking for administrator commands for the chatroom on jpilot.com but their forums are down and the command section doesn't deal with it...<br /><br />Any other places to look?<br /><br />-peter

Top
#232720 - 01/16/03 02:50 AM Re: Integrated Jpilot chat [Re: SurfMinister]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Thanks <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232721 - 01/16/03 02:54 AM Re: Integrated Jpilot chat [Re: adrienne48]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232722 - 01/17/03 10:00 PM Re: Integrated Jpilot chat [Re: jacksonm99]
Allusivekudos Offline
Junior Member

Registered: 05/26/02
Posts: 378
Loc: Na
Thanks a bunch! Is there any chance I can have the chatroom info like who's in the chat show in the WOL? <br /><br />Thanks again for everything!<br /><br />-peter

Top
#232723 - 01/18/03 01:43 AM Re: Integrated Jpilot chat [Re: adrienne48]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I think people show up as "private" even though the chat script is in the Threads directory, and I'm not realy sure how to make them show up as being in the chat. Can anyone point me in the right direction for making it work?
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232724 - 01/18/03 04:08 AM Re: Integrated Jpilot chat [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
If the page is called "chat.php"<br /><br />In the languages/english/online.php language file, add this:<br /><br /><br />$ubbt_lang['chat'] = "In the Chat Room";<br />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232725 - 01/18/03 04:11 AM Re: Integrated Jpilot chat [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Proving, yet again, that you rule! <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Thanks!
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232726 - 01/18/03 05:27 AM Re: Integrated Jpilot chat [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
You are doing quite nicely here yourself lately... all sorts of cool stuff that you've been posting. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232727 - 01/18/03 06:00 AM Re: Integrated Jpilot chat [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Thanks <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Just trying to give something back... <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232728 - 01/19/03 10:29 AM Re: Integrated Jpilot chat [Re: jacksonm99]
Allusivekudos Offline
Junior Member

Registered: 05/26/02
Posts: 378
Loc: Na
Perfect! Thank you muchly! Do you know if it's possible or how to now add how many people are in the chatroom? Almost like another WOL completely, for the chat?<br /><br />Thank you!<br /><br />-peter

Top
#232729 - 01/19/03 12:04 PM Re: Integrated Jpilot chat [Re: adrienne48]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
No idea, unless you are in the chat with them <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />The way that you are tracked by Threads is when you click on a link (to load a list of posts in a forum, for example). Because the chat page is static, and Who's Online updates every 10 minutes, people have a tendancy to "fall off" of who's online when they are in the chat. <br /> <br />JoshPet solved this problem by creating a java script that updates your online status every 9 minutes, but I don't use it in my hack. <br /> <br />The odd thing that I've noticed is that sometimes I'll show up on a different page in the who's online display, even though the only page I have open is the chat. Unfortunately I don't know enough about how the who's online script works and I haven't had time to sit down and figure it out.


Edited by Dalantech (01/19/03 12:15 PM)
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232730 - 01/19/03 05:26 PM Re: Integrated Jpilot chat [Re: jacksonm99]
Organizer Offline
User

Registered: 08/17/02
Posts: 34
Has anyone done this, so I can view it on action???
_________________________
Organizer

Top
#232731 - 01/19/03 05:56 PM Re: Integrated Jpilot chat [Re: Billyo]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
You can check it out here<br /><br />http://www.reeftalk.com/ubbthreads/chat/jchat.php
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232732 - 01/19/03 09:05 PM Re: Integrated Jpilot chat [Re: Billyo]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
[]Has anyone done this, so I can view it on action??? [/]<br /><br />I've got it at measurection.<br /><br />Username: testing<br />password: testing<br /><br />Then click the chat button at the top.<br /><br />The little popup will update the Who's online information every 9 minutes. The top of every page in my threads tells how many users are in Chat. <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232733 - 01/20/03 03:43 AM Re: Integrated Jpilot chat [Re: jacksonm99]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
There is a section of code in the jchat.php script that's unnecessary. After reviewing the main.inc.php file (and the ubbt.inc.php file) the table wrappers are defined when you call the library, so you can remove: <br /> <br />
Code:
 <br />// --------------------- <br />// Grab the tablewrapper <br />   list($tbopen,$tbclose) = $html -&gt; table_wrapper(); <br />
<br /> <br />and the chat script will work just fine. I actually wrote that section incorrectly anyway (I should have put [:"purple"] $html = new html;[/] on the line above the list statement). Live and learn... <img src="/forum/images/graemlins/wink.gif" alt="" /> <br /> <br />I'll update the zip file later <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />Update: I should either drink more coffee or get more sleep. The script is OK as is. I'll update the original zip file, but you do need to grab the table wrapper otherwisw tbopen and tbclose are empty.


Edited by Dalantech (01/25/03 01:25 PM)
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232734 - 01/21/03 10:58 AM Re: Integrated Jpilot chat [Re: jacksonm99]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Zip file updated <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232735 - 01/24/03 09:39 AM Re: Integrated Jpilot chat [Re: Daine]
deltajo Offline
Power User

Registered: 09/05/00
Posts: 61
Loc: Vancouver, British Columbia, C...
[]The little popup will update the Who's online information every 9 minutes...[/]<br /><br />Josh, I was trying to go for this, but couldn't get it. If you can spare the time, could you review this with me?<br /><br />I added this code to my jchat.tmpl:<br /><br /> [:"red"] <script language="javascript" type="text/javascript"> window.open<br />('http://www.mysite.com/threads/chatpopup.php?<br />Cat=&Username=$Username&amp;Usernumber=$Usernumber',<br />'chatpopup','width=300,height=250,top=100,left=150,screenX=1,screenY=1,<br />scrollbars=yes,resizable=yes');</script>[/]<br /><br />...and just put this in my new "chatpopup.php":<br /> <br />[:"red"] <script language="javascript" type="text/javascript"> window.blur();</script><br /><meta http-equiv="refresh" content="500"><br /><div align="center"><b><font size="2">Please leave this window open while you <br /> are in the Chat Room.</font></b></div>[/]<br /><br />I also added the language <br />[:"red"]$ubbt_lang['jchat'] = "In Chat Room"; [/]<br />to online.php.<br /><br />The popup opens and refreshes but Who's Online doesn't update my status every 9 minutes. <br /><br />Thanks in advance for your tips!

Top
#232736 - 01/24/03 10:30 PM Re: Integrated Jpilot chat [Re: icewind]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I haven't looked at the way Dalantech set this up... I know some of it was based on what I had created (like the pop up thing).<br /><br />The only way I could get it to work at the time was by passing the Usernumber variable to the popup in the URL.<br /><br />Is $Usernumber being defined in the chat php file?<br /><br />The popup should update the info, if it has the usernumber.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232737 - 01/25/03 01:15 AM Re: Integrated Jpilot chat [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I didn't set it up to use your java applet Josh, but I think that variable should be available after authentication.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232738 - 01/25/03 02:48 AM Re: Integrated Jpilot chat [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Yeah, in whatever script you call this: <br /> <br /> <br />('http://www.mysite.com/threads/chatpopup.php? <br />Cat=&Username=$Username&amp;Usernumber=$Usernumber', <br />'chatpopup','width=300,height=250,top=100,left=150,screenX=1,screenY=1, <br />scrollbars=yes,resizable=yes');</script> <br /> <br /> <br />Make sure $Username & $Usernumber has been defined before it. You may need to do <br /> <br />$Username = $user['U_Username']; <br />$Usernumber = $user['U_Number']; <br /> <br />or something similar to set that up. <br /> <br />Try adding : <br /> <br />echo "Name = $Username <br />"; <br />echo "Number = $Usernumber <br />"; <br /> <br />near the top of chat popup to debug it.... see if it has a name and number... if not, that's the problem. <img src="/forum/images/graemlins/wink.gif" alt="" /> <br />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232739 - 01/25/03 11:24 AM Re: Integrated Jpilot chat [Re: Daine]
deltajo Offline
Power User

Registered: 09/05/00
Posts: 61
Loc: Vancouver, British Columbia, C...
I don't have a clue what I'm doing but I got it to work! Don't you love it when that happens?<br /><br />Here's what I did. I borrowed some code from the top of the faq_english.php file, since the "Who's Online" updates when users go to THAT file......<br /><br />So, my new "chatpopup.php" looks like this:<br /> [:"blue"] <br /><?<br />// Require the library<br /> require ("./main.inc.php");<br /><br /> $html = new html;<br /> $html -> send_header("Updater",$Cat,0,0,0,0,"");<br /><br /><br />echo "<br /><script language=\"javascript\" type=\"text/javascript\"><br /> window.blur();</script><br /><meta http-equiv=\"refresh\" content=\"550\"><br /><br /><div align=\"center\"><b><font face=\"ariel\" size=\"2\"><br />Please leave this window open while you<br /> are in the Chat Room.</b><br /> </font></b></div>";<br />?><br />[/]<br /><br />My "jchat.tpl" inludes this line, to call-up the "chatpopup.php": [:"blue"] <br /><script language="javascript" type="text/javascript"> window.open('http://www.mysite.com/threads/chatpopup.php?Cat=&Username=$Username&amp;Usernumber=$Usernumber',<br />'chatpopup','width=800,height=300,top=000,left=000,<br />screenX=1,screenY=1,scrollbars=yes,resizable=yes');<br /></script><br />[/] <br /><br /><br /><br />The one snaglette is my chatpopup.php brings up my header, which is an unecessary bandwidth-user, especially given that it refreshes every (nearly) 10 minutes. And of course it also makes the chatpopup window unecessarily wide. So I'd love to find a way around THAT.

Top
#232740 - 01/25/03 12:07 PM Re: Integrated Jpilot chat [Re: icewind]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I wonder if this works for me but not for you because Register Globals might be off?<br /><br />Hmmmm.... you shouldn't need to send the header. <br /><br /><img src="/forum/images/graemlins/confused.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232741 - 01/25/03 02:04 PM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Attachment corrected and uploaded to the first post <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232742 - 01/26/03 02:50 PM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
Allusivekudos Offline
Junior Member

Registered: 05/26/02
Posts: 378
Loc: Na
Dal, I've finally gotten this working perfectly, and am really enjoying it. It's all ready to be opened on my board, but I have a weird question. I feel super stupid, so forgive me! lol<br /><br />Is there a way for me to register the channel I make and have me always an admin? I've looked through the info but am having a hard time....<br /><br />Thanks,<br />peter

Top
#232743 - 01/26/03 03:01 PM Re: [6.2] Integrated Jpilot chat [Re: adrienne48]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
your on dalnet or xnet?<br /><br />The command will be on xnet for example this<br /><br />/msg nickserv register yourname your password<br /><br />/msg chanserv register roomname password description<br /><br />then when you log into the room you can type this<br /><br />/msg nickserv identify password<br /><br />/msg chanserv identify roomname password<br /><br />You will be autooped and recognized as founder<br />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232744 - 01/26/03 03:04 PM Re: [6.2] Integrated Jpilot chat [Re: sf49rminer]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Excellent post Chuck <img src="/forum/images/graemlins/cool.gif" alt="" /><br /><br />We'll turn this place into a tech support site like mine in no time <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232745 - 01/26/03 03:21 PM Re: Integrated Jpilot chat [Re: icewind]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Hey - try this.<br /><br />You shouldnt' need to send the header, but add this near the top of your chat popup file. (After the "require" to main.inc.php).<br /><br />
Code:
<br />	$Username = get_input("Username","get");<br />	$Usernumber = get_input("Usernumber","get");<br />
<br /><br />I think this has to do with Register Globals being off (or on) <img src="/forum/images/graemlins/tongue.gif" alt="" /><br /><br />But this has been fixing alot of issues with variables not getting passed. <img src="/forum/images/graemlins/crazy.gif" alt="" /> It's a standard function.<br /><br />Let me know if that helps. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232746 - 01/26/03 06:54 PM Re: Integrated Jpilot chat [Re: Daine]
Allusivekudos Offline
Junior Member

Registered: 05/26/02
Posts: 378
Loc: Na
Omega - no clue if i'm on dalnet or xnet.<br /><br />When I type in <br />/msg nickserv register myname mypassword<br /><br />I'm getting this:<br /><AllusiveK*nickserv> register AllusiveK mypassword <br /><br />-> that's all in blue, and basically, the same thing for the room when I try and register....<br /><br />I know something is wrong...lol. Can you tell me what?<br /><br />-peter

Top
#232747 - 01/26/03 07:23 PM Re: Integrated Jpilot chat [Re: adrienne48]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
in your script what server do you have the chat pointed to?
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232748 - 01/26/03 07:44 PM Re: Integrated Jpilot chat [Re: Daine]
deltajo Offline
Power User

Registered: 09/05/00
Posts: 61
Loc: Vancouver, British Columbia, C...
Hi Josh.<br /><br />Thanks for your efforts but no that didn't work.<br /><br />Let me just review a bit:<br />My chatpopup does (as I had it) do the job -- it does keep my Who's Online up-to-date with those who are in the Chat Room, as planned.<br /><br />The only problem is that it causes my regular Threads header.tmpl to appear in the chatpopup, which looks dumb and causes confusion to users.<br /><br />If I could just find a way to not have the header.tmpl appear, I'd be laughing.<br /><br />This line in my chatpopup seems to be needed and seems to work except for the header thang: $html -> send_header("Updater",$Cat,0,0,0,0,"");. Note that I'm clueless and have no clue what I'm doing.<br /><br />P.S., My "register_globals" are "on"

Top
#232749 - 01/26/03 08:06 PM Re: Integrated Jpilot chat [Re: icewind]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
This is what my chat popup looks like: <br /> <br />
Code:
// Require the library <br />   require ("/home/measurection/htdocs/forums/main.inc.php"); <br /> <br />			$currtime = time (); <br />			$currtime = $currtime+($config['adjusttime']*3600); <br />            $What = "chat"; <br /> <br />		   $Username_q = addslashes($Username); <br />           $What_q     = addslashes($What); <br />           $Usernumber_q = addslashes($Usernumber); <br />           $aux = ""; <br />           $readperm = ""; <br />           $query = " <br />             REPLACE INTO {$config['tbprefix']}Online <br />             (O_Username,O_Uid,O_Last,O_What,O_Extra,O_Read,O_Type) <br />             VALUES ('$Username_q','$Usernumber_q','$currtime','$What_q','$aux','$readperm','r') <br />           "; <br />           $dbh -&gt; do_query($query); <br /> <br />// ------ debuggin info <br />// echo "name - $Username_q   and number = $Usernumber_q"; <br /> <br />echo " <br />  &lt;script language=\"javascript\" type=\"text/javascript\"&gt; window.blur();&lt;/script&gt; <br />&lt;meta http-equiv=\"refresh\" content=\"500\"&gt; <br />&lt;font size =\"+1\"&gt;&lt;div align=\"center\"&gt; <br />&lt;b&gt;Please leave this window open while you are in the Chat Room. <br />&lt;/b&gt;&lt;/font&gt;&lt;/div&gt; <br />"; <br /> <br />?&gt;
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232750 - 01/26/03 08:09 PM Re: Integrated Jpilot chat [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
You can uncomment that debugging info to see if the variables are being passed.<br /><br />In some cases you need the get_input function (get) to get the variables from one scrip to another via the URL. <br /><br />If you check the URL of your chat popup? (show your address bar) is the name and number being passed?<br /><br />Try adding:<br /><br />echo "Name $Username and Number $Usernumber"; to the bottom of your other chat script to verify that they are defined there.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232751 - 01/26/03 09:45 PM Re: Integrated Jpilot chat [Re: Daine]
Allusivekudos Offline
Junior Member

Registered: 05/26/02
Posts: 378
Loc: Na
Omega: irc.webmaster.com<br /><br />Hope that helps!<br /><br />

Top
#232752 - 01/26/03 10:02 PM Re: Integrated Jpilot chat [Re: Daine]
deltajo Offline
Power User

Registered: 09/05/00
Posts: 61
Loc: Vancouver, British Columbia, C...
Josh: Yes that works! Thanks very much for all your help on this.

Top
#232753 - 01/26/03 11:42 PM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Dalantech -<br /><br />Is the chat popup thing included in your files?<br /><br />If so, add the get_input functions I posted in this thread to it.... as some servers need that. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232754 - 01/27/03 12:10 AM Re: [6.2] Integrated Jpilot chat [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
No, it's not included. I left it out because I know a lot of people block java pop ups (too many irritating adds out there). <br /><br />When I get time I'll include instructions for adding it. Is there any other way to make the who's online display work without java?<br /><br />*Dal updates his Threads Dev to do list*<br /><br /><img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232755 - 01/27/03 01:12 AM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Not sure. The problem with a traditional "chat" page is that once the java applet loads, it doesn't refresh the page. If the page doesn't refresh, they drop off the list after 10 minutes.<br /><br />I can't really see any way around this. <img src="/forum/images/graemlins/confused.gif" alt="" /> It'd be great if it were.<br /><br />I saw something somewhere (I guess it was your DigiChat mod)? Where it opened the chatroom in a frame. Could you have a tiny "iframe" that refreshed - although my browser doesn't support iframes. Many do not. <img src="/forum/images/graemlins/tongue.gif" alt="" /> But I guess you could do the page in frames and have one of the frames refresh. <img src="/forum/images/graemlins/tongue.gif" alt="" /><br /><br />Just thinking out loud. So in theory it works.... but my theorys are sometimes wrong.<br /><br />Might need to add modifying that on my threads to do list. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232756 - 01/27/03 01:27 AM Re: [6.2] Integrated Jpilot chat [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Unfortunately I didn't do the Digichat mod <img src="/forum/images/graemlins/frown.gif" alt="" /> <br /> <br />I have a tendancy to stay away from iframes as well, they just don't work across all browser platforms. I only recently went back to using DHTML because support for it is strong enough now. <br /> <br />You're right, refreshing the page would cause them to drop off line. I noticed that the who's online page will auto refresh. I wonder if there is a way to make an element on the chat page (say just a one pixel transperant gif) refresh so that the entire page does not reload, but the who's online mechanism "sees" the refresh?
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232757 - 01/27/03 01:33 AM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I guess if you did regular frames.... put your header in a frame and let it refresh.. letting the chat window stay put... that would do it.<br /><br />The digichat mod had like 3 frames. One with instructions, one that refreshed, and one that had a button to open the digichat thing.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232758 - 01/27/03 02:01 AM Re: [6.2] Integrated Jpilot chat [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I have a special kinda hate for frames, but I might try it just to see how it looks.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232759 - 01/27/03 02:44 AM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Yeah, me too... I hate popups too.. but my users wanted to see who was in chat.<br /><br />On my site... I use the who's online box at the top of every page.... and I made it say below that, in bold: "There are 5 users in chat. Join them!" so that has really helped chat traffic. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232760 - 01/27/03 02:55 AM Re: [6.2] Integrated Jpilot chat [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I'd like to do the same thing eventually. <br /><br />*sigh* More "to do" <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232761 - 01/27/03 03:11 AM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I need to pull that code together and post it. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232762 - 01/27/03 03:14 AM Re: [6.2] Integrated Jpilot chat [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
If you do I'll add it into the jchat.php script (unless you want to do it <img src="/forum/images/graemlins/smile.gif" alt="" /> ).
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232763 - 01/27/03 03:22 AM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I'll get it to you hopefully sometime this week. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232764 - 01/27/03 04:27 AM Re: [6.2] Integrated Jpilot chat [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Thanks <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232765 - 01/27/03 05:10 AM Re: [6.2] Integrated Jpilot chat [Re: Daine]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
[]Could you have a tiny "iframe" that refreshed - although my browser doesn't support iframes. Many do not. <img src="/forum/images/graemlins/tongue.gif" alt="" /> [/]<br /><br />My God man what are you talking about? <img src="/forum/images/graemlins/wink.gif" alt="" /> What do you use?
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232766 - 01/27/03 05:14 AM Re: [6.2] Integrated Jpilot chat [Re: sf49rminer]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I'll give you a hint: He thinks different... <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232767 - 01/27/03 05:23 AM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
LOL<br /><br /> I don't know of many browsers that don't support iframes. I have IE, Netscape, and Mozilla and they all support it. I had an iframe on my site for a long time. Then again I am always getting latest versions etc.<br /><br />Could be people don't upgrade as often. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232768 - 01/27/03 12:14 PM Re: [6.2] Integrated Jpilot chat [Re: Daine]
deltajo Offline
Power User

Registered: 09/05/00
Posts: 61
Loc: Vancouver, British Columbia, C...
[]On my site... I use the who's online box at the top of every page.... and I made it say below that, in bold: "There are 5 users in chat. Join them!" so that has really helped chat traffic. <img src="/forum/images/graemlins/wink.gif" alt="" /> [/]<br /><br />Josh that would be just brilliant. My users have also been begging for that. <br /><br />It would make a pretty neat package -- Dalantech's integrated Chat with your mod's -- for those of us who are trying to make chat a serious aspect of our sites.<br /><br />I really appreciate the work you all are doing. Personally, I just learned that PHP isn't a steak sauce, so I'm a ways off from being able to contribute much!

Top
#232769 - 01/27/03 04:59 PM Re: [6.2] Integrated Jpilot chat [Re: icewind]
ExcelsiorDDZ Offline
Member

Registered: 08/09/99
Posts: 234
Loc: New York
I will have jump into this bandwagon as well Jossh.
_________________________
Silly ricer.. Wings are for airplanes!

Top
#232770 - 01/27/03 06:49 PM Re: [6.2] Integrated Jpilot chat [Re: Franky]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
OK - let me post this mod here until it's ready for "prime time". I pulled the code from my site.... but I've got some other things going on. So I haven't tested it.<br /><br />It should work fine... but somebody test it and let me know.<br /><br />For this to work, the chat page must be named "chat.php" as it looks for the entry of "chat" in the online table.<br /><br />If the chat page is named 'chatroom.php' then you will need to modify my code to search for 'chatroom' instead. <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />This adds the number of users chatting to the top of each page on your site, and offers a link to the chatroom (chat.php) - again, if your chat file is named something else, you'll need to edit the link in the nav bar templates.<br /><br />Let me know if you have any questions. <br /><br />Josh


Attachments
66540-CountInChat1.0.txt (125 downloads)

_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232771 - 01/27/03 11:49 PM Re: [6.2] Integrated Jpilot chat [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Thanks! <img src="/forum/images/graemlins/cool.gif" alt="" /><br /><br />I'll try to get time to test this one out tonight <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232772 - 01/28/03 01:37 AM Re: [6.2] Integrated Jpilot chat [Re: Daine]
deltajo Offline
Power User

Registered: 09/05/00
Posts: 61
Loc: Vancouver, British Columbia, C...
Thanks a lot, Josh.<br /><br />I've tried it and got it working as far as I can tell..... haven't tested it much because my eyes are closing on me.<br /><br />I'll give it more of a go in the morning.<br /><br />

Top
#232773 - 01/28/03 04:35 PM Re: Integrated Jpilot chat [Re: Billyo]
ExcelsiorDDZ Offline
Member

Registered: 08/09/99
Posts: 234
Loc: New York
I have modified this slightly. See changes below.. <br /> <br />I changed this part of the ubbt.inc.php (2 places) <br /> <br />$ChatNumber .= "$tbopen<tr><td class=\"lighttable\"><br /><div align=\"center\"><b>There is also $ChatOnline User in the <a href=\"{$config['phpurl']}/jchat.php\">Chat Room</a>. Go and Join Them!</b></div></td></tr>$tbclose<br />"; <br /> <br />to this... <br /> <br />$ChatNumber .= "[$ChatOnline]"; <br /> <br />and the ubbt_resg and unregistered.tmpl to this... <br /> <br /><a href = "{$config['homeurl']}/forums/jchat.php">Chat</a> $ChatNumber <br /> | <br /> <br />This will SIMPLY toss a number of chatters that are in the chat room via the page next to the chat link for simplicity. And nothing when none. Be aware that if they are using an outside client, this will not count those people. <br /> <br /> <br />Example at www.theddz.com, click on chat. But you need to be registered to watch it change.
_________________________
Silly ricer.. Wings are for airplanes!

Top
#232774 - 01/28/03 04:39 PM Re: Integrated Jpilot chat [Re: Franky]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Good idea! <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Thanks. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232775 - 01/30/03 11:46 AM Re: [6.2] Integrated Jpilot chat [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Josh, this one is just too <img src="/forum/images/graemlins/cool.gif" alt="" /> !<br /><br />Now all I need is a side bar with this mod in it <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232776 - 02/02/03 12:16 PM Re: [6.2] Integrated Jpilot chat [Re: sf49rminer]
Allusivekudos Offline
Junior Member

Registered: 05/26/02
Posts: 378
Loc: Na
[scratch original question] <br /> <br />Omega, or Dal, can either of you suggest a server where I can register a channel/nicks? <br /> <br />-peter


Edited by allusivekudos (02/03/03 08:01 PM)

Top
#232777 - 02/15/03 08:47 PM Re: [6.2] Integrated Jpilot chat [Re: adrienne48]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
Whatever I try the chat is trying to reach irc.blackened.com and not the server I set in the template file.<br /><br />I replaced this server whereever I found it in the /chat dir but the $%&"§*_ is still trying it.<br />I don't have clue whats wrong.<br /><br />Can someone please assist?<br />http://www.clanforums.com/ubbthreads/chat.php
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top
#232778 - 02/16/03 12:14 AM Re: [6.2] Integrated Jpilot chat [Re: edr]
Allusivekudos Offline
Junior Member

Registered: 05/26/02
Posts: 378
Loc: Na
That's exactly what happened to me and I could never find what was wrong!<br /><br />-peter

Top
#232779 - 02/16/03 01:17 AM Re: [6.2] Integrated Jpilot chat [Re: adrienne48]
ExcelsiorDDZ Offline
Member

Registered: 08/09/99
Posts: 234
Loc: New York
Ahh, I also ran into this.. You have to change it in the config file AND the html I think. Email me and I can arrange a time to go over this with you in person individually.<br /><br />[]excelsior@theddz.com[/]
_________________________
Silly ricer.. Wings are for airplanes!

Top
#232780 - 02/16/03 06:48 AM Re: [6.2] Integrated Jpilot chat [Re: Franky]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
I've changed it now in EVERY file where irc.black... is included. I deleted also ALL other server information so that only my wanted is in. <br /> <br />Within the archives in p.class the serverinfo was also in. I changed it also but same effect. <br /> <br />The applet is still trying to reach this %§"&$#§" server and not the one I want... <img src="/forum/images/graemlins/mad.gif" alt="" /> <br /> <br />Then I found out that there is a small failure in the attachment here. <br /> <br />OPEN JCHAT.TMPL and you will see this <br /><param name=\"ServerName1\" value=\"irc.dal.net\"> <br /><param name=\"ServerName2\" value=\"liberty.nj.us.dal.net\"> <br /><param name=\"ServerName3\" value=\"typhoon.va.us.dal.net\"> <br /> <br />Remove the \ in front of the " and it wil work <img src="/forum/images/graemlins/laugh.gif" alt="" />


Edited by jluerken (02/16/03 07:13 AM)
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top
#232781 - 02/16/03 07:37 AM Re: [6.2] Integrated Jpilot chat [Re: Daine]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
[]JoshPet said:<br />Yeah, me too... I hate popups too.. but my users wanted to see who was in chat.<br /><br />On my site... I use the who's online box at the top of every page.... and I made it say below that, in bold: "There are 5 users in chat. Join them!" so that has really helped chat traffic. <img src="/forum/images/graemlins/wink.gif" alt="" /> [/]<br /><br />Hey Josh, I would also like to have it. Can you send to me how you made this cause I finally managed to include the chat into my forum. (50$ <img src="/forum/images/graemlins/frown.gif" alt="" />)
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top
#232782 - 02/16/03 07:43 AM Re: [6.2] Integrated Jpilot chat [Re: edr]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
Another question: <br /> <br />I opened the chat window in one of my registered channels on irc.quakenet.org and now all the people who have a registered nick there can't connect if the nick is the same the use in the forum. Can I add a suffix to the Forumnames that this is working? <br /> <br />You get the same error when the nick used in the forum is too long for the irc. Any way to cut things? <br />


Edited by jluerken (02/16/03 07:51 AM)
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top
#232783 - 02/16/03 11:19 AM Re: [6.2] Integrated Jpilot chat [Re: edr]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I've updated the zip file in the first post to include the chatpopup.php file and a new jchat.php file that includes the script to call the popup window.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232784 - 02/16/03 11:22 AM Re: [6.2] Integrated Jpilot chat [Re: edr]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
They should be able to connect, provided they are not already logged into the channel from another IRC application and they login to the channel once they connect.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232785 - 02/16/03 11:36 AM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
[]Dalantech said:<br />I've updated the zip file in the first post to include the chatpopup.php file and a new jchat.php file that includes the script to call the popup window. [/]<br /><br />You've forgotten to delete the failure with the template file and the server names. See my above posting!!!
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top
#232786 - 02/16/03 12:00 PM Re: [6.2] Integrated Jpilot chat [Re: edr]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I have no idea what you are talking about. The template only attempts to connect to three IRC servers: <br /> <br />irc.dal.net <br />liberty.nj.us.dal.net <br />typhoon.va.us.dal.net <br /> <br />If it is trying to connect to any other IRC server it's because you've added it to the script. If it's only attempting to connect to one server then you've modified the script incorrectly. Go to the Jpilot home page and follow the instructions for adding additional IRC servers closely...
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232787 - 02/16/03 01:13 PM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
There is a failure in your template<br /><br /><param name=\"ServerName1\" value=\"irc.dal.net\"> <br /><param name=\"ServerName2\" value=\"liberty.nj.us.dal.net\"> <br /><param name=\"ServerName3\" value=\"typhoon.va.us.dal.net\"> <br /><br />must be<br /><param name="ServerName1" value="irc.dal.net"> <br /><param name="ServerName2" value="liberty.nj.us.dal.net"> <br /><param name="ServerName3" value="typhoon.va.us.dal.net"> <br />
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top
#232788 - 02/16/03 01:32 PM Re: [6.2] Integrated Jpilot chat [Re: edr]
ExcelsiorDDZ Offline
Member

Registered: 08/09/99
Posts: 234
Loc: New York
Some servers do not allow [ type characters and some do not allow multiple connects. JPilot might see them as from the same source, I forgot if it really does.
_________________________
Silly ricer.. Wings are for airplanes!

Top
#232789 - 02/16/03 01:56 PM Re: [6.2] Integrated Jpilot chat [Re: edr]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I've fixed the template, but what did the error have to do with you connecting to irc.blackened.com?
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232790 - 02/16/03 02:01 PM Re: [6.2] Integrated Jpilot chat [Re: Franky]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Jpilot is just a client side IRC program (like Mirc) and it does not control what options you have available once you connect to an IRC server. Most IRC servers will not allow multiple logins by the same nickname.<br /><br />IRC servers will also not allow spaces in a nickname, but the jchat.php script converts spaces to underscores in user names automaticly.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232791 - 02/16/03 02:24 PM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
[]Dalantech said:<br />I've fixed the template, but what did the error have to do with you connecting to irc.blackened.com? [/]<br /><br />The parameters from the template are not send to the jchat and then it is using a default server (irc.black.....)<br />After removing the \" and making a " out of it the template worked correct for me. I am sure that this will also solve it for the others which had the same problem.
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top
#232792 - 02/16/03 02:29 PM Re: [6.2] Integrated Jpilot chat [Re: edr]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
OK, cool <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232793 - 02/16/03 02:55 PM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
Wow, that was a hard way *hehe*<br />Was it my english that you did not understand what I tried to say? <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top
#232794 - 02/16/03 03:14 PM Re: [6.2] Integrated Jpilot chat [Re: edr]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
It's the way you explained it. I had know idea what you meant.<br /><br />The escaped quotes in the template were there from me cutting and pasting from another chat.php script that didn't use a template (that's why the quotes were escaped). I don't use the default IRC server, so I had to have something to put in the chat template for the mod here. The only problem was that I forgot to remove the back slashes -doh! <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232795 - 02/20/03 12:48 AM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
coloradok5 Offline
Enthusiast

Registered: 07/11/01
Posts: 462
Loc: Colorado
[]This mod uses a template, and only allows registered users to chat[/] <br />Would this also work by user group?

Top
#232796 - 02/20/03 12:57 AM Re: [6.2] Integrated Jpilot chat [Re: bisbell]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
It could, with a few modifications. Currently it only checks to see if someone is registered.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232797 - 04/29/03 07:51 PM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
Back to the top <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />I have purchased the User License and have it all installed, Click Here to check it out.<br /><br />I keep getting an error "***dachat Cannot join channel (This channel has been closed by DALnet)"<br /><br />What did I do wrong, how can I fix it?<br /><br />Thanks,<br /><br />Bobby

Top
#232798 - 04/29/03 08:28 PM Re: [6.2] Integrated Jpilot chat [Re: vajraman]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Okay seems you have dachat somewhere in the template. Save the following code as jchat.tmpl and place in the template directory. Remember to change the name of the chat room you want to where it says so in the room name variable. I have it listed in CAPITALS. <br /> <br /><? <br />echo <<<template <br /> <br />$tbopen <br /><tr> <br /><td class="cleartable"> <br /><br /> <br /><center> <br /><applet name="jchat" archive="jirc_nss.zip" code="Chat.class" width="600" height="350" vspace="0"> <br /><param name="CABBASE" value="jirc_mss.cab" /> <br /><param name="ServerPort" value="6667" /> <br /><param name="ListTextColor" value="blue" /> <br /><param name="ServerCmdColor" value="127,127,127" /> <br /><param name="BorderVsp" value="5" /> <br /><param name="NoConfig" value="true" /> <br /><param name="AcceptCommands" value="true" /> <br /><param name="TotalChannelsAllow" value="1" /> <br /><param name="TextColor" value="black" /> <br /><param name="AllowIdentd" value="true" /> <br /><param name="AllowPrivateChatWindow" value="true" /> <br /><param name="DirectStart" value="true" /> <br /><param name="nickname" value="$irc_nick" /> <br /><param name="LogoBgColor" value="white" /> <br /><param name="BorderHsp" value="5" /> <br /><param name="IgnoreServerMsg" value="false" /> <br /><param name="BackgroundColor" value="99,132,181" /> <br /><param name="ListScreenColor" value="234,233,209" /> <br /><param name="NickNameColor" value="-1" /> <br /><param name="ServerName1" value="irc.dal.net" /> <br /><param name="ServerName2" value="irc.dal.net" /> <br /><param name="ServerName3" value="irc.dal.net" /> <br /><param name="ServerName4" value="jade.va.dal.net" /> <br /><param name="ServerName5" value="jade.va.dal.net" /> <br /><param name="ActionColor" value="red" /> <br /><param name="IgnoreChannelChangeMsg" value="false" /> <br /><param name="isLimitedChannel" value="true" /> <br /><param name="isLimitedServers" value="false" /> <br /><param name="FGColor" value="black" /> <br /><param name="DisplaySoundControl" value="true" /> <br /><param name="DisplayAbout" value="true" /> <br /><param name="TotalServersAllow" value="3" /> <br /><param name="InputScreenColor" value="white" /> <br /><param name="AllowURL" value="true" /> <br /><param name="DisplayColorControl" value="true" /> <br /><param name="DisplayConfigChannel" value="false" /> <br /><param name="DisplayConfigChannelPass" value="false" /> <br /><param name="DisplayConfigMisc" value="false" /> <br /><param name="DisplayConfigNick" value="false" /> <br /><param name="DisplayConfigPort" value="false" /> <br /><param name="DisplayConfigRealName" value="false" /> <br /><param name="DisplayConfigServer" value="false" /> <br /><param name="DisplayConfigServerPass" value="false" /> <br /><param name="LogoHeight" value="90" /> <br /><param name="Channel1" value="SCP_Chat" /> <br /><param name="ServerErrorColor" value="red" /> <br /><param name="TextScreenColor" value="white" /> <br /><param name="TitleForegroundColor" value="white" /> <br /><param name="BorderSpacing" value="0" /> <br /><param name="RefreshColorCode" value="true" /> <br /><param name="InputTextColor" value="black" /> <br /><param name="TitleBackgroundColor" value="black" /> <br /><param name="AllowSound" value="true" /> <br /><param name="IgnoreModeChange" value="false" /> <br /><param name="IgnoreMOTD" value="false" /> <br /><param name="TextFontName" value="Helvetica" /> <br /><param name="TextFontSize" value="12" /> <br /><param name="WelcomeMessage" value="Welcome to South California Powerstrokes Chat!" /> <br /><param name="UserCmdColor" value="blue" /> <br /><param name="LogoWidth" value="52" /> <br /></applet> <br /></center> <br /></td> <br /></tr> <br />$tbclose <br /> <br /> <br />template; <br />?> <br /> <br />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232799 - 04/29/03 09:00 PM Re: [6.2] Integrated Jpilot chat [Re: sf49rminer]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
Thank you VERY much for you help, but I am now getting this error:<br /><br />Parse error: parse error, unexpected T_SL, expecting ',' or ';' in /home/socapsn/public_html/ubbthreads/templates/default/jchat.tmpl on line 2<br /><br />Once again, I am very new to this. Have I skipped a step?

Top
#232800 - 04/29/03 09:04 PM Re: [6.2] Integrated Jpilot chat [Re: vajraman]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
I attached it as a file on the post here. Download it and rename it to jchat.tmpl and upload it.


Attachments
78205-jchat.txt (57 downloads)

_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232801 - 04/29/03 10:04 PM Re: [6.2] Integrated Jpilot chat [Re: sf49rminer]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
OK, I am so sorry that I am making this difficult! I am sure that you wish you had never replied to my post <img src="/forum/images/graemlins/crazy.gif" alt="" /><br /><br />I have done what you have stated to do, atleast I think I have and now I have a greyed out box where the chat window should be. To me, it seems like it's not connecting to the chat server <img src="/forum/images/graemlins/confused.gif" alt="" /> <img src="/forum/images/graemlins/confused.gif" alt="" /><br /><br />

Top
#232802 - 04/29/03 10:20 PM Re: [6.2] Integrated Jpilot chat [Re: vajraman]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
Ah ha, I figured it out. In the file you sent I had to have it point to the chat/ folder to find the files <img src="/forum/images/graemlins/smile.gif" alt="" /> <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Thanks again,<br /><br />Bobby

Top
#232803 - 04/30/03 12:48 AM Re: [6.2] Integrated Jpilot chat [Re: vajraman]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
That's an odd error. I just checked the zip file and there are no references to my chat page in any of the files. Where did you get the files that you used for this mod?
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232804 - 04/30/03 01:52 AM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
[]Dalantech said:<br />That's an odd error. I just checked the zip file and there are no references to my chat page in any of the files. Where did you get the files that you used for this mod? [/]<br />Great job putting this together !!!<br /><br />The error was caused by this:<br /><br />Was:<br /><br /><applet name="jchat" archive="jirc_nss.zip" code="Chat.class" width="600" height="350" vspace="0"> <br /><br />Should have been:<br /><br /><applet name="jchat" archive="chat/jirc_nss.zip" code="chat/Chat.class" width="600" height="350" vspace="0"> <br /><br />It was my fault. I think I got into a big hurry and jumped the gun.<br /><br /><br />I do have another question <img src="/forum/images/graemlins/grin.gif" alt="" /><br /><br />I changed the online.php file to include the "In Chat Room" status, but it is still showing "Private". Any ideas?<br />

Top
#232805 - 04/30/03 02:03 AM Re: [6.2] Integrated Jpilot chat [Re: vajraman]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I think that's because you have the chat in a "chat" directory. It shows "private" for any script outside of the threads directory.<br /><br />if the chat scripts were in the threads directory, then the online language file would work. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232806 - 04/30/03 03:02 AM Re: [6.2] Integrated Jpilot chat [Re: vajraman]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
This is the part that caught my attention:<br /><br /> [] dachat Cannot join channel (This channel has been closed by DALnet)" [/] <br /><br /><br />dachat is the name of the chat channel that I use on a private IRC server, so it looks like you used wget (or some other program) to pull the chat files from my web server instead of using the files included in the attachment on the first post of this thread...<br />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232807 - 04/30/03 05:08 AM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
BWillams,<br /><br /> Yes Josh is right if you have the chat directory under Threads you would not have needed to edit the template to do chat/jirc.php either. That Template I posted for you I modified for a MOCK room name for you and a MOCK title. It works fine under the scheme it is suppose to be. All chat files go in the chat subdirectory and then the template file in the template/default directory.<br /><br /> threads/chat
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232808 - 05/01/03 07:45 PM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
[]Dalantech said:<br />This is the part that caught my attention:<br /><br /> [] dachat Cannot join channel (This channel has been closed by DALnet)" [/] <br /><br /><br />dachat is the name of the chat channel that I use on a private IRC server, so it looks like you used wget (or some other program) to pull the chat files from my web server instead of using the files included in the attachment on the first post of this thread...<br /> [/]<br />Here is the code:<br /><br /><param name="ServerName1" value="irc.dal.net"> <br /><param name="ServerName2" value="liberty.nj.us.dal.net"> <br /><param name="ServerName3" value="typhoon.va.us.dal.net"><br /><br />I removed the "irc.dal.net" and used another that was given to me and I do not get that error anymore. <br /><br />

Top
#232809 - 05/02/03 12:24 AM Re: [6.2] Integrated Jpilot chat [Re: vajraman]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
<img src="/forum/images/graemlins/cool.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232810 - 05/02/03 05:14 AM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
How bout trying dachat.net <br /><br />JUST KIDDING. <img src="/forum/images/graemlins/smile.gif" alt="" /> Glad you got it working. Although I do not see personally why irc.dal.net does not work that is their base server which will load any one of those other channels that are open at the time.<br /><br />if you type irc.dal.net in a chat program you may end up somewhere like munich.de.dal.net <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232811 - 05/02/03 04:05 PM Re: [6.2] Integrated Jpilot chat [Re: sf49rminer]
DLWebmaestro Offline
Addict

Registered: 08/08/00
Posts: 1802
Loc: North Carolina
Is there any software that can be integrated with this hack (in lieu of JPilot) that is able to connect through a firewall?

Top
#232812 - 05/03/03 01:24 PM Re: [6.2] Integrated Jpilot chat [Re: eslmix]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
It would have to use a port that your firewall can proxy. Since port 80 is used for HTTP (web surfing) you might try searching for chat scripts that use it (all firewalls proxy port 80).
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232813 - 05/18/03 07:26 PM Re: [6.2] Integrated Jpilot chat [Re: edr]
p74vic Offline
Member

Registered: 01/03/01
Posts: 60
Loc: Charlottesville, VA
Thought I would post this: I modified my jchat.php to change special characters in usernames.. I might not have gotten them, all, but did get the common ones my users have..<br /><br />paste this into jchat.php<br /><br />
Code:
<br />//Replace certain characters<br />  $irc_nick = str_replace('©', '(c)', $Username);<br />  $irc_nick = str_replace('@', '(a)', $Username);<br />  $irc_nick = str_replace('®', '(r)', $Username);<br />  $irc_nick = str_replace('™', '(TM)', $Username);<br />
_________________________
www.crownvic.net

Top
#232814 - 05/18/03 09:36 PM Re: [6.2] Integrated Jpilot chat [Re: mario_dup1]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Oh very good idea. Had that problem with spaces as well.<br /><br />I think I'll use this but add = <br /><br /> $irc_nick = str_replace(' ', '_', $Username);<br /><br /><br />Thanks! <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232815 - 05/18/03 10:45 PM Re: [6.2] Integrated Jpilot chat [Re: Daine]
p74vic Offline
Member

Registered: 01/03/01
Posts: 60
Loc: Charlottesville, VA
Yep, the space correction is right above the special characters one <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Jason
_________________________
www.crownvic.net

Top
#232816 - 05/18/03 11:54 PM Re: [6.2] Integrated Jpilot chat [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I've already got space conversion in the script <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232817 - 05/18/03 11:54 PM Re: [6.2] Integrated Jpilot chat [Re: mario_dup1]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
<img src="/forum/images/graemlins/cool.gif" alt="" /> !
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232818 - 05/18/03 11:57 PM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Ah - I think I was using mine and never switched to yours - had the space issue very recently. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Good work. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232819 - 05/19/03 01:04 AM Re: [6.2] Integrated Jpilot chat [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I think Dave_L gave me the script line to convert spaces to underscores. I wrote the jpilot chat script when I was first learning php. Now the more books I have the fewer questions I ask... <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232820 - 05/19/03 01:10 AM Re: [6.2] Integrated Jpilot chat [Re: mario_dup1]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
There is one problem with the way you wrote it: The value of $irc_nick will be the last line ( $irc_nick = str_replace('™', '(TM)', $Username); ), all the others will be over written. Try changing it to this: <br /> <br />
Code:
 <br />$irc_nick = str_replace('©', '(c)', $irc_nick); <br />$irc_nick = str_replace('@', '(a)', $irc_nick); <br />$irc_nick = str_replace('®', '(r)', $irc_nick); <br />$irc_nick = str_replace('™', '(TM)', $irc_nick); <br />
<br /> <br />That should work <img src="/forum/images/graemlins/wink.gif" alt="" /> <br /> <br />Edit: Remember to keep the first string replace line! <br /> <br />$irc_nick = str_replace(' ', '_', $Username); <br /> <br />


Edited by Dalantech (05/19/03 01:14 AM)
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232821 - 05/19/03 01:12 AM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
OOh - a new Eagle Eye. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232822 - 05/19/03 04:57 AM Re: [6.2] Integrated Jpilot chat [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
LOL! <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I'm trying to get there, but I have a lot of catching up to do when compaired to the rest of the mods here!
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232823 - 05/24/03 01:41 PM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
xeney Offline
User

Registered: 02/07/01
Posts: 32
Loc: Sacramento, California, USA
Hmm. Okay, this didn't do what I thought it would do. It logs users on with their board username, etc., but then they get renamed to guest because those nicks are already in use on dalnet or whatever. Is that what's supposed to happen or did I do something wrong? I'm not sure I get the point of using the board nicknames in that case, since virtually all of them are in use.

Top
#232824 - 05/24/03 01:52 PM Re: [6.2] Integrated Jpilot chat [Re: Poe Reader]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Yes that's supposed to happen. Otherwise they wouldn't be able to log onto the chat server. You'll need to install and run your own IRCd and services (if you want to offer control of the nicknames on the chat server) and have your jpilot applet connect to it so that this will not happen. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232825 - 05/24/03 02:31 PM Re: [6.2] Integrated Jpilot chat [Re: sjsaunders]
xeney Offline
User

Registered: 02/07/01
Posts: 32
Loc: Sacramento, California, USA
Ah, okay. So this hack is really not going to work if you aren't doing that. That might be worth mentioning in the documentation.

Top
#232826 - 05/24/03 08:39 PM Re: [6.2] Integrated Jpilot chat [Re: Poe Reader]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I think it's really best if you have at least your own channel.... but there are infinate number of channels and chat servers to choose from.<br /><br />You might also try the Raidersoft chat mod.... for free, they allow you to setup your own room (www.raidersoft.com) and then you won't have to worry about other people's nicknames.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232827 - 05/25/03 12:11 AM Re: [6.2] Integrated Jpilot chat [Re: Daine]
xeney Offline
User

Registered: 02/07/01
Posts: 32
Loc: Sacramento, California, USA
Yeah, that was our second choice.<br /><br />But I think we made this work. We registered a channel, but then to make our username/nicknames more unique, we had the chat login append a unique designator at the end of each username. Like this, in jchat.php:<br /><br />// Append TUS designator to username<br /> $irc_nick_suffix = "TUS";<br /> $irc_nick = "$irc_nick$irc_nick_suffix";<br /><br />("TUS" is the initials of our board and it's what everyone calls it for short.)<br /><br />And I'm encouraging users to register that nickname so they don't have to worry about getting changed to "guest."

Top
#232828 - 05/25/03 02:31 AM Re: [6.2] Integrated Jpilot chat [Re: Poe Reader]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I've updated the first post in this thread with instructions on how to change the chat channel that you use. Odd that I missed it the last time I went looking through the file <img src="/forum/images/graemlins/crazy.gif" alt="" /><br /><br />As for the user names already existing on Dalnet or some other IRC service: That's normal behavior for IRC chat, so I didn't include it in the instructions.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232829 - 06/09/03 02:43 PM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
xtc Offline
Newbie

Registered: 05/27/03
Posts: 10
pjirc (www.pjirc.com) might be a better solution. <br /><br />I used to run jpilot's applet... <br /><br />PJirc's interface is MUCH nicer, it's FREE and it comes with source code so it could be modified to update "who's online".<br /><br />It also solves the problem of duplicate nicknames. If a nickname is already in use you can have it automatically append a random number to the end of the nickname to make it unique.<br /><br />The primary reason I first looked at it is it can be called from anywhere, the license doesn't lock it down to one domain, so you could set up a chat portal for other sites.<br /><br />Duane<br />

Top
#232830 - 06/10/03 01:02 AM Re: [6.2] Integrated Jpilot chat [Re: deewhite]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Sounds cool <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232831 - 06/10/03 04:03 AM Re: [6.2] Integrated Jpilot chat [Re: deewhite]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
Thanks. I took a look at PJIRC, and tried to install it (version 1.84) on my server. It looks like it has a couple of limitations:<br /><br />1) The web server on which it's installed also has to be the IRC server to which it connects.<br />2) It doesn't include a security certificate, which might disturb users.<br /><br />I may be wrong about these two issues. I spent some time reading the FAQ, looking through posts on their forum, and using trial and error, but was unable to get it to work on my server.
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#232832 - 06/10/03 05:16 AM Re: [6.2] Integrated Jpilot chat [Re: joeuser]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
I will give it a try myself. However looking at the screenshots and trying their demo on their server I higly doubt I would be able to say that it is more feature rich. JPilot is a stable reliable cheap as well as proven application.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232833 - 06/10/03 09:17 AM Re: [6.2] Integrated Jpilot chat [Re: sf49rminer]
xtc Offline
Newbie

Registered: 05/27/03
Posts: 10
I've been running it for several weeks (switched from Jpilot because I moved to a different domain name and couldn't transfer the license to the new domain) and have had a lot of users tell me they think it's better than Jpilot.<br /><br />You can always get your own certificate to sign it. freessl.com has certificates as low as $35/year. I just run my own irc server.<br /><br />It also supports being on multiple channels simultaniously, dcc, ctcp and more. There's better control over what channels a user can, or can't, access and even if they can leave specific channels.<br /><br />I modified the scripts to work with it on my site. You can check it out at www.moparpages.com.<br /><br /> login: guest<br /> pass: threadsdev<br /><br />Duane

Top
#232834 - 06/13/03 09:45 AM Re: [6.2] Integrated Jpilot chat [Re: deewhite]
fishtails Offline
Enthusiast

Registered: 06/19/02
Posts: 307
Loc: Fernandina Beach, FL
I was in the chat room here, but when I tried to go back to the main index, it left me in the chat room. To get out of it I had to go to another site and come back.
_________________________
Fish or Cut Bait! http://www.fish-tails.net

[:"red"]Air traffic control? It has its ups and downs.[/] http://www.natcazjx.org

Top
#232835 - 06/13/03 10:12 AM Re: [6.2] Integrated Jpilot chat [Re: ]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
This site isn't using this mod, is it?
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#232836 - 06/13/03 11:11 AM Re: [6.2] Integrated Jpilot chat [Re: joeuser]
Pappy Offline
Member

Registered: 11/17/00
Posts: 235
Loc: Germany (US Citizen)
Yes I had the same problem the chat room does look cool though <img src="/forum/images/graemlins/smile.gif" alt="" />

Top
#232837 - 07/14/03 11:29 PM Re: [6.2] Integrated Jpilot chat [Re: joeuser]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
PJIRC version 1.90 was recently released, and it now works on any server - you don't need to have your own IRC server.
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#232838 - 04/03/05 08:52 PM Re: [6.2] Integrated Jpilot chat [Re: jacksonm99]
ScriptZ Man Offline
User

Registered: 01/03/05
Posts: 38
I thought I did everything right, but all I get is a blank gray applet when I start the progie. What am I missing? I'm running jIRC v2.8.4 (Registered) on UBB.Threads v6.4 .... <br /> <br /> <img src="http://www.ubbdev.com/forum/images/graemlins/frown.gif" alt="" /> <br />


Edited by ScriptZ Man (04/04/05 12:29 PM)

Top
Page 1 of 7 1 2 3 4 5 6 7 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks